package com.bdth.bdthcms.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LGP
 * @since 2020-08-12
 */
@TableName("sys_archives")
public class Archives implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 栏目ID
     */
    private Integer typeid;
    private String typename;
    /**
     * 行业ID
     */
    private Integer industryid;
    private String industryname;
    /**
     * 标记
     */
    private Integer flag;
    /**
     * 点击次数
     */
    private Integer click;
    /**
     * 标题
     */
    private String title;
    /**
     * 是否最新
     */
    private Integer isnew;
    /**
     * 关键字
     */
    private String keywords;
    private Integer lastpost;
    /**
     * 内容
     */
    private String description;
    private Date crtime;
    private Date pubtime;
    /**
     * 附件
     */
    private String filename;
    /**
     * 排序
     */
    private Integer ords;
    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public Integer getIndustryid() {
        return industryid;
    }

    public void setIndustryid(Integer industryid) {
        this.industryid = industryid;
    }

    public String getIndustryname() {
        return industryname;
    }

    public void setIndustryname(String industryname) {
        this.industryname = industryname;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getClick() {
        return click;
    }

    public void setClick(Integer click) {
        this.click = click;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getIsnew() {
        return isnew;
    }

    public void setIsnew(Integer isnew) {
        this.isnew = isnew;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public Integer getLastpost() {
        return lastpost;
    }

    public void setLastpost(Integer lastpost) {
        this.lastpost = lastpost;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCrtime() {
        return crtime;
    }

    public void setCrtime(Date crtime) {
        this.crtime = crtime;
    }

    public Date getPubtime() {
        return pubtime;
    }

    public void setPubtime(Date pubtime) {
        this.pubtime = pubtime;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public Integer getOrds() {
        return ords;
    }

    public void setOrds(Integer ords) {
        this.ords = ords;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Archives{" +
        ", id=" + id +
        ", typeid=" + typeid +
        ", typename=" + typename +
        ", industryid=" + industryid +
        ", industryname=" + industryname +
        ", flag=" + flag +
        ", click=" + click +
        ", title=" + title +
        ", isnew=" + isnew +
        ", keywords=" + keywords +
        ", lastpost=" + lastpost +
        ", description=" + description +
        ", crtime=" + crtime +
        ", pubtime=" + pubtime +
        ", filename=" + filename +
        ", ords=" + ords +
        ", status=" + status +
        "}";
    }
}
